package com.app.model;


import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("lm_year_task")
@JsonInclude(JsonInclude.Include.NON_NULL)

public class YearTaskModel {
    @TableId(type = IdType.AUTO)
    private String id;
    @ExcelProperty(index = 0)
    private Integer number;
    @ExcelProperty(value = "类别",index = 1)
    private String type;//类别
    @ExcelProperty(value = "业务领域",index = 2)
    private String businessAreas;//业务领域
    @TableField(exist = false)
    private String plan;//具体工作计划
    @ExcelProperty(index = 3)
    private String planOne;//计划1
    @ExcelProperty(index = 4)
    private String planTwo;//计划2
    private String planThree;//计划3
    @ExcelProperty(index = 5)
    private String expectedResults;//预期成果
    @ExcelProperty(index = 6)
    private String completionDeadline;//完成时限
    @ExcelProperty(index = 7)
    private String responsibleUnit;//责任单位
    @ExcelProperty(index = 8)
    private String responsiblePerson;//责任人
    @ExcelProperty(index = 9)
    private String completionStatus;//完成情况
    @ExcelProperty(index = 10)
    private String remark;//备注
    private String year;//年度
    private String completionText;//完成情况
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") //后端注解格式化日期
    private Timestamp createTime;//进度要求
    private Timestamp updateTime;
}
